#include <SFML/Graphics/VertexArray.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <nice2d/entity.h>

class Grid : public Entity
{
public:
    Grid();
    ~Grid();
public:
    void initial(const sf::Vector2f &size, const sf::Color &color, uint32_t count);
    void onDrawNode(sf::RenderTarget &target, sf::RenderStates states) const override;
private:
    std::unique_ptr<class GridData> data;
};